package org.meetunexpectedly.authority.verify;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description: 授权校验类接口，规定统一的执行方法
 * @Author: pupil
 * @Date: 2024/09/03 下午 5:39
 */
public interface AuthorityVerify {

    /**
     * 授权校验方法
     * @param request 网络请求
     * @param permissions 权限
     * @return
     */
    Boolean authorityVerify(HttpServletRequest request, String[] permissions);
}
